package com.ds.extend.aware.eventPublisher;

import org.springframework.context.ApplicationEvent;


/**
 * 事件类
 * @author qiuxl
 *
 */
public class UserRegisterEvent extends ApplicationEvent {
	private static final long serialVersionUID = -5481658020206295565L;	
	private String user;	
	//谁发布的这个事件，souce就是谁（对象）
	public UserRegisterEvent(Object source, String user) {
		super(source);
		this.user = user;
	}	
	public String getUser() {		
		return user;
	}
}
